package com.yzd.learnjava.annotaions;

import com.yzd.learnjava.util.OSExecute;
import com.yzd.learnjava.util.Print;

public class AtUnitExample1 {
	public String methodOne() {
		return "This is methodOne";
	}
	
	public int methodTwo() {
		Print.print("This is methodTwo");
		return 2;
	}
	
	@Test
	boolean methodOneTest() {
		return methodOne().equals("This is methodOne");
	}
	
	@Test
	boolean m2() {
		return methodTwo() == 2;
	}
	
	@Test
	private boolean m3() {
		return true;
	}
	
	@Test
	boolean failTest() {
		return false;
	}
	
	@Test
	boolean anotherDisappointment() {
		return false;
	}
	
	public static void main(String[] args) {
		OSExecute.command("java com.yzd.learnjava.atunit.AtUnit AtUnitExample1");
	}
}
